Thanks to Quinn's extended explaination in another thread the problem is fixed by adding @Sendable to the Metal command queue command buffer's completion handler. The app is now running on Swift 6
commandBuffer.addCompletedHandler { @Sendable (_ commandBuffer)-> Swift.Void in ...
The compiler team should consider adding information that can be used for correcting the problem. Right now the assert crash is completely cryptic to me and has no usable information about the cause.
[(https://developer.apple.com/forums/thread/764777?answerId=807248022#807248022)]
Topic:
Media Technologies
SubTopic:
Photos & Camera
Tags: